package com.rt.code.service.intf;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rt.code.dto.A2userDto;
import com.rt.code.dto.PageDto;
import com.rt.tmpt.dto.Result;
import com.rt.code.bean.A2user;

import java.util.Map;

public interface IA2userService extends IService<A2user>{

	Result<A2userDto> pagination(A2userDto a2userDto, PageDto pageDto);

	Result<A2userDto> pagination(A2userDto a2userDto, PageDto pageDto, Map<String, Object> paramMap);

	Result<A2userDto> pagination4Sum(A2userDto a2userDto, PageDto pageDto, Map<String, Object> paramMap);

	Result<A2userDto> selectAll();

	Result<A2userDto> selectById(long id);

	Result<A2userDto> addData(A2userDto a2userDto);

	Result<A2userDto> editData(A2userDto a2userDto);

	Result deleteById(long id, String adminMan);

}
